#pragma once
#include <iostream>
#include <vector>
#include <string>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
#include <sys/types.h>
#include <sys/wait.h>

using namespace std;

typedef void (*task_t)();

void task1()
{
	cout << "刷新日志" << endl;
}

void task2()
{
	cout << "刷新野怪" << endl;
}

void task3()
{
	cout << "检测更新" << endl;
}

void task4()
{
	cout << "更新血量" << endl;
}

void LoadTask(vector<task_t> *tasks)
{
	tasks->push_back(task1);
	tasks->push_back(task2);
	tasks->push_back(task3);
	tasks->push_back(task4);
}